﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="PostThread.aspx.cs" Inherits="iSun.WebApp.forum.PostThread" MasterPageFile="~/forum/forum.Master"  %>
<asp:Content ContentPlaceHolderID="Top" ID="pageTop" runat="server"></asp:Content>
<asp:Content ContentPlaceHolderID="head" ID="pageHead" runat="server">
    <style type="text/css">
        .style1
        {
            width: 119px;
        }
    </style>
</asp:Content>
<asp:Content ContentPlaceHolderID="Content" ID="pageContent" runat="server">
<%
    
    iSun.BLL.Extend.BaseBussnies bll = new iSun.BLL.Extend.BaseBussnies();
    string _BoardID = (this.Page as iSun.Web.UI.Controls.BasePage).GetStringFromQueryString("boardID", "");
    System.Data.DataTable dt = bll.GetDataBySqlComm(string.Format("select * from forumThread where boardID='{0}'",_BoardID));
    %>
    <table style="width:100%">
    <tr><td class="style1">功能模块</td><td>说明</td></tr>
    <%
        if (dt != null)
        {
            foreach (System.Data.DataRow row in dt.Rows)
            {
                string BoardName = row.ItemArray[1].ToString();
                string Notes = row.ItemArray[2].ToString();
                string id = row.ItemArray[0].ToString();
        %>
        <tr><td class="style1"><a href="Thread.aspx?boardID=<% =id %>"><%=BoardName%></a>标题</td><td><% = Notes%>
            <asp:TextBox ID="TextBox1" runat="server" Width="378px"></asp:TextBox>
            </td></tr>
        <%
        }
        }
 %>
        <tr><td class="style1">内容</td><td>
            <asp:TextBox ID="TextBox2" runat="server" Height="243px" Width="547px"></asp:TextBox>
            </td></tr>
        </table>
</asp:Content>